.space {
  // margin-top: 60px;
  // position: relative;
}

.pt5 {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 5px;
}

.pt10 {
  padding-top: 10px;
}

.mt10 {
  margin-top: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

.mt20 {
  margin-top: 20px;
}

.title {
  h4 {
    line-height: 30px;
    color: #333333;
    font-size: 15px;
  }
}

.detail-main {
  display: flex;
  height: 100%;
  flex-direction: column;
  flex: 1;
  overflow: hidden;

  .top_app {
    box-sizing: border-box;
    border-top: 1px solid #f3efef;
    padding: 12px;
    background-color: rgb(240, 242, 245);

    .top_h {
      box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.048);
      height: 47px;
      padding: 0px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #fff;

      .text {
        display: flex;
        align-items: center;

        .module_color {
          font-size: 14px;
          font-weight: bolder;
          margin-right: 8px;
        }

        .ml-8 {
          margin-right: 8px;
        }
      }

      .btns {
        display: flex;
        align-items: center;
        flex-wrap: wrap;

        .mr {
          margin-right: 5px;
        }

        .mr5 {
          margin-left: 5px;
        }
      }
    }
  }

  .main_content {
    display: flex;
    height: 100%;
    // flex-direction: column;
    flex: 1;

    :deep(.el-collapse-item__content) {
      padding-bottom: 12px;
    }

    :deep(.el-collapse-item__wrap) {
      border-bottom: none !important;
    }

    :deep(.el-collapse-item__header) {
      border-bottom: none !important;
    }

    :deep(.el-collapse-item__arrow) {
      display: none;
    }

    .main_left {
      display: flex;
      height: 100%;
      flex-direction: column;
      flex: 1;
      position: relative;
      padding: 0 12px;

      .mark_bg {
        overflow-y: auto;
        position: relative;
        flex: 1;

        &::-webkit-scrollbar {
          display: none;
        }

        .info_order {
          display: flex;
        }

        .mark_content {
          position: absolute;
          width: 100%;
          box-sizing: border-box;
        }

        .content_inner {
          background-color: #fff;
          padding: 0 12px;
          margin-bottom: 12px;
          // box-sizing: border-box;
          flex: 1;

          .bor_padding {
            margin: 12px;
          }
        }

        .settle-info {
          box-sizing: border-box;
          padding: 12px;
          background-color: #fff;
          margin-bottom: 12px;
        }
      }

      .show_hide {
        position: absolute;
        right: 0;
        top: 30%;
        z-index: 999;
        // display: none;

        .show_btn_r {
          background-color: #fff;
          padding: 0 3px;
          box-shadow: 4px 0 4px 2px #e4e7ed;
          border-radius: 0 8px 8px 0;
          position: absolute;
          top: 40%;
          right: -6px;
          line-height: 32px;
          height: 32px;
          display: flex;
          justify-content: center;
          align-items: center;
          z-index: 999;
        }

        .show_btn_l {
          display: flex;
          justify-content: center;
          align-items: center;
          background-color: #fff;
          padding: 0 3px;
          box-shadow: -4px 0 8px 2px #e4e7ed;
          border-radius: 8px 0 0 8px;
          position: absolute;
          top: 40%;
          right: 12px;
          line-height: 32px;
          height: 32px;
          z-index: 8;
        }
      }
    }

    .right_side {
      flex: 1;
      display: flex;
      flex-direction: column;
      margin: 0 12px 12px;
      margin-left: 0;
      padding-bottom: 12px;
      background-color: #fff;

      .ul_timeline {
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;

        /* IE 10+ */
        &::-webkit-scrollbar {
          display: none;
          /* Chrome Safari */
        }

        flex: 1;
        position: relative;
        overflow: auto;

        .first_pane {
          position: absolute;
          padding: 12px;
          width: 100%;
          box-sizing: border-box;
        }
      }

      .page_bo {
        display: flex;
        justify-content: center;
        margin-top: 12px;
        color: #999;
        font-size: 12px;
      }

      :deep(.el-tabs__item.is-active) {
        color: #007cff !important;
      }

      :deep(.el-tabs__nav-wrap::after) {
        height: 1px;
      }

      :deep(.el-tabs__nav .el-tabs__active-bar) {
        background-color: #007cff;
        padding: 0 10px;
        position: absolute;
        bottom: 0;
        left: -10px;
      }

      :deep(.el-tabs__nav .el-tabs__item:hover) {
        color: #007cff;
      }

      :deep(.el-card__header) {
        // padding: 10px 0;
        padding: 0;
        // margin: 0 10px;
        border: none;
      }

      :deep(.el-card__body) {
        padding: 0 10px;
        font-size: 12px;
      }

      :deep(.el-card) {
        &.is-always-shadow {
          box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
        }

        border: none;
        border-radius: 0;
      }

      .box-card {
        padding-bottom: 20px;

        .c_network {
          padding: 4px 5px;
          display: inline-block;
          margin: 8px 0;
          font-size: 12px;
        }

        .back_c1 {
          background-color: #f5eee3;
          color: #e69103;
        }

        .back_c2 {
          background-color: #d2f7f7;
          color: #00c0c0;
        }

        .back_c3 {
          background-color: #eee9fa;
          color: #a06eff;
        }

        .back_c4 {
          background-color: #e4eef8;
          color: #007cff;
        }

        .c_note {
          color: #666;
          margin-bottom: 8px;
        }

        :deep(.el-timeline-item__node--normal) {
          left: 0;
        }

        :deep(.el-timeline-item__tail) {
          left: 5px;
        }

        :deep(.el-timeline-item__wrapper) {
          padding-left: 20px;
          top: -5px;
        }
      }
    }
  }
}

:deep(.remark_list) {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;

  .el-drawer__header {
    color: #000;
  }
}

.title_bl {
  // border-left: #007cff solid 3px;
  // padding-left: 5px;
  font-size: 14px;
}

.ord_dis {
  display: flex;
  justify-content: center;
  align-items: center;

  .img {
    width: 14px;
    height: 14px;
    margin-left: 20px;
    cursor: pointer;
  }
}

:deep(.el-table) {
  .number {
    color: #007cff;
    cursor: pointer;

    &:hover {
      text-decoration: underline;
    }
  }

  .cell {
    text-align: center;
    font-size: 12px;
  }

  th.el-table__cell + th.el-table__cell {
    .cell {
      border-left: 1px solid #e7e3e3;
    }
  }
}

:deep(.el-table--border .el-table__cell) {
  border-right: none;
}

.waiting_x {
  padding: 2px 4px;
  font-size: 12px;
  border-radius: 2px;
  height: 14px;
  line-height: 12px;
  color: #ffffff;
  background-color: #e69103;
  cursor: pointer;
}

.waiting_pass {
  padding: 2px 4px;
  font-size: 12px;
  border-radius: 2px;
  height: 14px;
  line-height: 12px;
  color: #ffffff;
  background-color: #a6a6a6;
  cursor: not-allowed;
}

.text-color {
  color: #007cff !important;

  &:hover {
    text-decoration: underline;
    cursor: pointer;
  }
}

.pagination {
  display: flex;
  margin-top: 10px;
  justify-content: end;
}

:deep(.el-tabs--border-card > .el-tabs__header) {
  .el-tabs__item {
    color: #000;
    font-size: 12px;
  }
}

.basic_information {
  padding: 12px 8px 0;

  :deep(.el-form-item__label) {
    color: #666;
    font-size: 12px;
    height: 23px;
    line-height: 23px;
  }

  :deep(.el-form-item--default .el-form-item__content) {
    line-height: 23px;
    font-size: 12px;
  }

  .ml {
    font-size: 12px;
  }

  .content_msg {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-wrap: break-word;
    word-break: break-all;
    width: 100%;
  }
}

.pro_dra {
  :deep(.el-input .el-input__wrapper) {
    box-shadow: 0 0 0 2px transparent;
    height: 40px;
    background-color: #f4f5f5;
    box-sizing: border-box;
  }

  :deep(.el-textarea__inner) {
    box-shadow: 0 0 0 2px transparent;
    background-color: #f4f5f5;
    font-size: 12px;
  }
}

.fields_o {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  column-gap: 24px;
  .upload_file {
    width: 100%;

    :deep(.el-upload-dragger) {
      padding: 0;
      font-size: 12px;
      height: 40px;
      line-height: 10px !important;
      color: #999;
    }

    .up_icon {
      color: #ccc;
      font-size: 24px;
    }

    .ul_list {
      // max-height: 130px;
      overflow: auto;
      padding: 0 6px;
      width: 100%;
      // max-width: 280px;
      // scrollbar-width: none;
      /* firefox */
      -ms-overflow-style: none;
      display: flex;
      /* IE 10+ */
      &:hover {
        // scrollbar-width: auto;
        /* firefox */
        -ms-overflow-style: auto;
        /* IE 10+ */
      }
      column-gap: 6px;
      .li_item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #666;
        font-size: 12px;
        width: 100%;

        .li_item_left {
          display: flex;
          align-items: center;
          width: 100%;
          margin-bottom: 4px;

          .pic_name {
            padding-left: 10px;
            color: #000;
            margin-right: 5px;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 80%;
            overflow: hidden;
          }
        }
      }
    }
  }
}

:deep(.el-drawer__header) {
  margin-bottom: 0;
  padding: 12px 12px 0;
}

.left_side {
  display: flex;
  flex-direction: column;
  // justify-content: center;
  // align-items: center;
  flex: 1;

  .item_li {
    // flex: 1;
    overflow-y: auto;
    overflow-y: scroll;
    // border-bottom: 1px solid #eee;
    margin: 0 10px;
    width: 100%;
    height: 90vh;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;

    /* IE 10+ */
    &::-webkit-scrollbar {
      display: none;
      /* Chrome Safari */
    }
    padding-bottom: 20vh;
    box-sizing: border-box;

    .load_more {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #999;
      font-size: 11px;
      margin-bottom: 12px;

      &:hover {
        color: #007cff;
        cursor: pointer;
      }
    }

    .on_more {
      display: flex;
      align-items: center;
      justify-content: center;
      color: #999;
      font-size: 11px;
      margin-bottom: 12px;
    }

    .li_c {
      .item_c {
        position: relative;
        right: 50%;
        transform: translateX(50%);
        font-size: 10px;
        color: #999;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .oneself_c {
        display: flex;
        flex-direction: column;
        align-items: flex-end;

        .top_note {
          display: flex;
          align-items: end;
          flex-direction: row-reverse;
          flex-direction: column;
          width: 100%;

          .content_c {
            margin: 8px 30px 20px 0px;

            .text_c {
              padding: 5px 8px;
              color: #333;
              white-space: pre-wrap;
              font-size: 12px;
              background-color: #e2e7f7;
              border-radius: 6px 0 6px 6px;
              // box-shadow: 0 0 1px 1px #00000016;
              width: 100%;
            }
            .img_container {
              display: grid;
              grid-template-columns: auto;
              row-gap: 4px;
            }
          }

          .item_name {
            margin-right: 5px;
            font-size: 12px;
            color: #666;
          }
        }
      }

      .top_note {
        .user {
          display: flex;
          align-items: center;

          .avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
          }

          .item_name {
            margin-left: 5px;
            font-size: 12px;
            color: #666;
          }
        }

        .content_c {
          margin: 8px 0 20px 30px;
          max-width: 60%;

          .text_c {
            padding: 5px 8px;
            color: #333;
            white-space: pre-wrap;
            font-size: 12px;
            // background-color: #fff;
            background-color: #e2e7f7;
            border-radius: 0 6px 6px 6px;
            // box-shadow: 0 0 1px 1px #00000022;
            word-wrap: break-word;
            word-break: break-all;
            display: inline-block;
          }
          .img_container {
            display: grid;
            grid-template-columns: auto;
            row-gap: 4px;
          }
          // .img_c {
          //     height: 20%;
          // }
        }
      }
    }
  }

  .radio_btn {
    display: flex;
    width: calc(100% - 16px);

    .la_text {
      color: #000;
    }

    :deep(.el-radio) {
      margin-right: 6px;
      height: 18px;

      .el-radio__label {
        transform: scale(0.9);
        font-size: 12px;
        padding: 0;
      }
    }
  }

  .chatInput {
    width: 100%;
    box-sizing: border-box;
  }
}

.footer {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  .btn-save {
    border-color: #00c0c0;
    background-color: #00c0c0;
  }

  .btn-cancel {
    color: #383838;
    border-color: #a6a6a6;
    background-color: transparent;
  }
}

.el-tag.el-tag--success {
  --el-tag-text-color: #00c0c0;
  --el-tag-bg-color: #ebf6f6;
  --el-tag-border-color: #ebf6f6;
  --el-tag-hover-color: #00c0c0;
}

.el-tag.el-tag--info {
  --el-tag-border-color: var(--el-color-info-light-9);
}

.el-tag {
  --el-tag-border-color: var(--el-color-primary-light-9);
}

.el-tag.el-tag--warning {
  --el-tag-border-color: var(--el-color-warning-light-9);
}
